<?php

namespace app\api\controller;

use think\response\Json;

class Swiper extends Base
{
    /**
     * 获取轮播图列表
     * @return Json
     */
    public function getList(): Json
    {
        $param = $this->request->param();
        $list = app(\app\api\logic\Swiper::class)->getList($param);
        return $this->response($list);
    }
}